from django.conf.urls import url
from . import views

urlpatterns = [
    url(r'^qq/login/$', views.QQLoginView.as_view()),
    url(r'^oauth_callback/$', views.QQAuthUserView.as_view()),
    # 获取新浪登陆页面
    url('^sina/login/$', views.OAuthSinaURLView.as_view()),
    # 绑定新浪账户
    url('^sina_callback/$', views.OAuthSinaOpenidView.as_view()),
]